﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<BDD.TicTacToe.Ui.Mvc.Models.NewGameViewModel>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Welcome to Tic-Tac-Toe</title>
</head>
<body>
    <div style="text-align: center ;">
    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>
               
            <div class="editor-label">
                <%: Html.LabelFor(model => model.PlayerOName) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.PlayerOName) %>
                <%: Html.ValidationMessageFor(model => model.PlayerOName) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.PlayerXName) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.PlayerXName) %>
                <%: Html.ValidationMessageFor(model => model.PlayerXName) %>
            </div>
            
            <p>
                <input type="submit" id="bStartNewGame" value="Start New Game" />
            </p>
        
    <% } %>
    </div>
</body>
</html>
